<?php
foreach ($messages as $message)
{
echo $html->image($message['image'],array('style'=>'vertical-align:middle;padding-right:10px;'));
echo $message['message'];
if (!empty($message['message'])) echo "<br/>";
}
?>
